package com.insmess.speech;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class App {
    public static void main(String[] args) {
        init();
        SpringApplication.run(App.class, args);
    }

    /**
     * 初始化一些东西
     */
    private static void init() {
        try {
            Class.forName("com.insmess.speech.common.util.HotWordUtils");
            Class.forName("com.insmess.speech.common.util.SensitiveWordUtils");
        } catch (ClassNotFoundException e) {
            throw new RuntimeException(e);
        }
    }
}

